package judesart.app.authentication;

import org.springframework.security.core.GrantedAuthority;

public class Authority implements GrantedAuthority
{
    private static final long serialVersionUID = 1L;
    String authority;

    public Authority(String authority)
    {
        super();
        this.authority = authority;
    }

    public Authority()
    {
        super();
    }

    @Override
    public String getAuthority()
    {
        return authority;
    }

}
